Interaction among Objects via Roles: Sessions and Affordances
نویسندگان
چکیده
In this paper we present a new vision in object oriented programming languages where the objects’ attributes and operations depend on who is interacting with them. This vision is based on a new definition of the notion of role, which is inspired to the concept of affordance as developed in cognitive science. The current vision of objects considers attributes and operations as being objective and independent from the interaction. In contrast, in our model interaction with an object always passes through a role played by another object manipulating it. The advantage is that roles allow to define operations whose behavior changes depending on the role and the requirements it imposes, and to define session aware interaction, where the role maintains the state of the interaction with an object. Finally, we discuss how roles as affordances can be introduced in Java, building on our language powerJava.
منابع مشابه
An implementation of roles as affordances: powerJava
This document shortly describes powerJava, a Java extension which provides the instructions to manage roles. After defined the environment in which we have worked, we will discuss the language’s new instructions and we will show an example. I. SOMETHING ABOUT ROLES Object orientation is a leading paradigm in programming languages, modeling, knowledge representation and databases. When we think ...
متن کاملModelling the Interaction Between Objects: Roles as Affordances
In this paper we present a new vision of objects in ontologies where the objects’ attributes and operations depend on who is interacting with them. This vision is based on a new definition of the notion of role, which is inspired by the concept of affordance as developed in cognitive science. The current vision of objects considers attributes and operations as being objective and independent fr...
متن کاملStable and variable affordances are both automatic and flexible
The mere observation of pictures or words referring to manipulable objects is sufficient to evoke their affordances since objects and their nouns elicit components of appropriate motor programs associated with object interaction. While nobody doubts that objects actually evoke motor information, the degree of automaticity of this activation has been recently disputed. Recent evidence has indeed...
متن کاملThe Role of Motor Affordances
Motor affordances are important for object knowledge. Semantic tasks on visual objects often show interactions with motor actions. Prior neuro-imaging studies suggested that motor affordances also play a role in visual working memory for objects. When participants remembered manipulable objects (e.g., hammer) greater premotor cortex activation was observed than when they remembered non-manipula...
متن کاملWhat can I do with this tool? Self-supervised learning of tool affordances from their 3D geometry
The ability to use tools can significantly increase the range of activities that an agent is capable of. Humans start using external objects since an early age to accomplish their goals, learning from interaction and observation the relationship between the objects used, their own actions, and the resulting effects, i.e., the tool affordances. Robots capable of autonomously learning affordances...
متن کامل